package com.wxx.design.decorator.v1;

/**
 * @author Jetwang
 * @version 1.0
 * @date 2022/4/18 15:20
 */
public class BatterCakeWithEggSausage extends BatterCakeWithEgg {
    @Override
    public String getDesc() {
        return super.getDesc() + "继续加一根香肠";
    }

    @Override
    public int cost() {
        return super.cost() + 2;
    }
}
